Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/val 1404 eip 7251 head watcher alerts for new el requests #58

Draft
wants to merge 19 commits into
base: develop
Choose a base branch
from

Conversation

dputko
Copy link

@dputko dputko commented Dec 19, 2024

No description provided.

Copy link
Contributor

@AlexanderLukin AlexanderLukin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the very high-quality PR. Excellent work! I haven't found anything critical. All comments are mostly suggestions/improvements.

tests/eip7251/__init__.py Outdated Show resolved Hide resolved
tests/eip7251/conftest.py Outdated Show resolved Hide resolved
src/handlers/consolidation.py Outdated Show resolved Hide resolved
src/handlers/consolidation.py Outdated Show resolved Hide resolved
src/handlers/consolidation.py Outdated Show resolved Hide resolved
Comment on lines +33 to +37
description = (f"EL withdrawals request source_address='{withdrawal.source_address}', "
f"validator_pubkey={withdrawal.validator_pubkey}, "
f"amount='{withdrawal.amount}'\n"
f"Slot: {beaconchain(slot)}")
self.send_alert(watcher, alert.build_body(summary, description))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same thoughts as for the Consolidation alerts. Seems better to print the opeartor name and beaconcha.in links where possible and group alerts of the same type.

src/variables.py Outdated Show resolved Hide resolved
tests/eip7251/conftest.py Outdated Show resolved Hide resolved
tests/eip7251/test_consolidations.py Outdated Show resolved Hide resolved
src/watcher.py Outdated Show resolved Hide resolved
@AlexanderLukin
Copy link
Contributor

Also would be nice if you could check why two CI tasks have not passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants